package com.macro.mall.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
@Data
public class OmsDistributionOrderParam implements Serializable {
    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "订单id")
    private Long orderId;

    @ApiModelProperty(value = "消费者id")
    private Long memberId;

    @ApiModelProperty(value = "佣金")
    private BigDecimal commissionAmount;

    @ApiModelProperty(value = "店铺的用户id")
    private Long storeUserId;

    @ApiModelProperty(value = "店铺id")
    private Long storeId;

    @ApiModelProperty(value = "分销订单状态：0->待买家付款；1->买家已待发货；2->卖家已发货；3->已完成；4->已关闭；5->无效订单；6->佣金已结算")
    private Integer status;

    @ApiModelProperty(value = "买家下单时的订单编号，同时用作佣金订单编号")
    private String orderSn;

    @ApiModelProperty(value = "佣金订单创建时间，一般与买家付款时间一致")
    private Date createTime;

    @ApiModelProperty(value = "乡村经纪人id")
    private Long agentId;

}